package cn.tedu.reflection;
//测试  反射
public class Human {
    //TODO Fileds
    public String name;
    private int age;
    double aalary;

    //TODO Constructors
    public Human(){}

    public Human(String name) {
        this.name = name;
    }

    public Human(int age) {
        this.age = age;
    }

    public Human(String name, int age, double aalary) {
        this.name = name;
        this.age = age;
        this.aalary = aalary;
        System.out.println(name);
        System.out.println(age);
        System.out.println(aalary);
    }
    //TODO Method
    public void test1(){
        System.out.println(1);
    }
    private void test2(String a){
        System.out.println(2);
    }
    public void test3(int a){
        System.out.println(3);
    }
}
